﻿using System;
using System.Reflection;
using Com.PhilChuang.Utils;

namespace Com.PhilChuang.Pmvp.Ui.Presenters
{
	[Serializable]
	public class AboutPresenterConfig : ICloneable
	{
		[SimpleEqualsAndHashcode]
		public VersionInfo VersionInfo
		{ get; set; }

		[SimpleEqualsAndHashcode]
		public Assembly ResourceAssembly
		{ get; set; }

		[SimpleEqualsAndHashcode]
		public String HelpContentResourceStreamName
		{ get; set; }

		[SimpleEqualsAndHashcode]
		public String AppWebsiteLink
		{ get; set; }

		//[SimpleEqualsAndHashcode]
		//public String DonateLink
		//{ get; set; }

		#region Equals / Clone
		public override bool Equals (object obj)
		{ return SimpleEqualsAndHashcode.Equals (this, obj); }

		public override int GetHashCode ()
		{ return SimpleEqualsAndHashcode.GetHashCode (this); }

		public virtual Object Clone ()
		{ return SimpleEqualsAndHashcode.Clone (this); }
		#endregion
	}
}